package com.eascs.bankloan.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * The persistent class for the o2o_loanapply database table.
 * 
 */
@Entity
@Table(name = "o2o_loanapply")
public class O2oBankLoanDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 单据编号
	 */
	@Id
	@Column(name = "bill_code")
	private String billCode;

	/**
	 * 申请金额
	 */
	@Column(name = "loana_mount")
	private BigDecimal applyAmount;

	/**
	 * 放款金额
	 */
	@Column(name = "ea_mount")
	private BigDecimal loanAmount;

	/**
	 * 放款银行
	 */
	@Column(name = "bank_loan_name")
	private String loanBank;

	/**
	 * 实际放款日
	 */
	@Column(name = "payment_time")
	private Date loanDate;

	/**
	 * 放款利率
	 */
	@Column(name = "loanrate")
	private BigDecimal loanRate;

	/**
	 * 放款期限
	 */
	@Column(name = "loan_term")
	private int loanTerm;

	/**
	 * 借款姓名
	 */
	@Column(name = "user_full_name")
	private String loanerName;

	/**
	 * 借款证件号码
	 */
	@Column(name = "document_no")
	private String loanerCard;

	public BigDecimal getApplyAmount() {
		return this.applyAmount;
	}

	public void setApplyAmount(BigDecimal applyAmount) {
		this.applyAmount = applyAmount;
	}

	public String getBillCode() {
		return this.billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public BigDecimal getLoanAmount() {
		return this.loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public String getLoanBank() {
		return this.loanBank;
	}

	public void setLoanBank(String loanBank) {
		this.loanBank = loanBank;
	}

	public Date getLoanDate() {
		return this.loanDate;
	}

	public void setLoanDate(Date loanDate) {
		this.loanDate = loanDate;
	}

	public BigDecimal getLoanRate() {
		return this.loanRate;
	}

	public void setLoanRate(BigDecimal loanRate) {
		this.loanRate = loanRate;
	}

	public int getLoanTerm() {
		return this.loanTerm;
	}

	public void setLoanTerm(int loanTerm) {
		this.loanTerm = loanTerm;
	}

	public String getLoanerName() {
		return loanerName;
	}

	public void setLoanerName(String loanerName) {
		this.loanerName = loanerName;
	}

	public String getLoanerCard() {
		return loanerCard;
	}

	public void setLoanerCard(String loanerCard) {
		this.loanerCard = loanerCard;
	}

}